package hcn.mch.response;

import lombok.ToString;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * @program: Myproject
 * @description: 查询筛查
 * @author: zangsf
 * @create: 2022-09-22 14:03
 **/
@ToString
@XmlRootElement(name = "Data")
public class NewbornScreeningListVO {

    private List<NewbornScreeningList> lists;

    @XmlElementWrapper(name = "Records")
    @XmlElement(name = "Record")
    public List<NewbornScreeningList> getLists() {
        return lists;
    }

    public void setLists(List<NewbornScreeningList> lists) {
        this.lists = lists;
    }

    public static class NewbornScreeningList{

        /**
         * 主键id
         */
        private String prenatalId;
        /**
         * 筛查日期
         */
        private String prenatalDate;
        /**
         * 筛查名称
         */
        private String prenatalName;

        /**
         * 新生儿筛查结果H5页面地址
         */
        private String screeningH5URL;
        /**
         * 是否异常标识
         */
        private String abnormalFlag;

        @XmlElement(name = "PrenatalId")
        public String getPrenatalId() {
            return prenatalId;
        }

        public void setPrenatalId(String prenatalId) {
            this.prenatalId = prenatalId;
        }

        @XmlElement(name = "PrenatalDate")
        public String getPrenatalDate() {
            return prenatalDate;
        }

        public void setPrenatalDate(String prenatalDate) {
            this.prenatalDate = prenatalDate;
        }

        @XmlElement(name = "PrenatalName")
        public String getPrenatalName() {
            return prenatalName;
        }

        public void setPrenatalName(String prenatalName) {
            this.prenatalName = prenatalName;
        }
        @XmlElement(name = "ScreeningH5URL")
        public String getScreeningH5URL() {
            return screeningH5URL;
        }

        public void setScreeningH5URL(String screeningH5URL) {
            this.screeningH5URL = screeningH5URL;
        }
        @XmlElement(name = "AbnormalFlag")
        public String getAbnormalFlag() {
            return abnormalFlag;
        }

        public void setAbnormalFlag(String abnormalFlag) {
            this.abnormalFlag = abnormalFlag;
        }
    }
}
